-
Notifications
You must be signed in to change notification settings - Fork 1.1k
improvement: Try to optimize coverage phase #24925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
jchyb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks great, I've noticed one improvement that could simplify things
compiler/src/dotty/tools/dotc/transform/InstrumentCoverage.scala
Outdated
Show resolved
Hide resolved
compiler/src/dotty/tools/dotc/transform/InstrumentCoverage.scala
Outdated
Show resolved
Hide resolved
compiler/src/dotty/tools/dotc/transform/InstrumentCoverage.scala
Outdated
Show resolved
Hide resolved
f2b1680 to
ea5a84b
Compare
ea5a84b to
556e33e
Compare
|
@tgodzik This is awesome, thanks! 👍 Do you think it would be possible to backport this to 3.8.1 (probably in time for the RC2)? 🙂 |
|
I think we can if there is an RC2. |
|
I was worried it was too fast and I broke something, but double checking it seems ok. We should be able to backport |
Backports #24925 to the 3.8.1-RC1. PR submitted by the release tooling. [skip ci]
Main optimization is to only deserialize and serialize coverage files once. Tested it locally and it did seem to help.
Should help with #24909